package flex.cc.nursing.dto.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 服务列表请求实体类
 *
 * @Author lyh
 * @Date 2021/12/8 14:14
 * @Version 1.0
 */
@Data
@ApiModel(value = "服务列表请求实体类")
public class ServiceListDTO {

    @ApiModelProperty(value = "服务分类", required = true)
    private String serviceCode;

    @ApiModelProperty(value = "服务名称", required = true)
    private String serviceName;

    @ApiModelProperty(value = "服务开始时间", notes = "该服务的开始时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startDate;

    @ApiModelProperty(value = "服务结束时间", notes = "该服务的结束时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;

    @ApiModelProperty(value = "服务对象所在省份code", required = true)
    private String province;

    @ApiModelProperty(value = "服务对象所在省份value", required = true)
    private String provinceValue;

    @ApiModelProperty(value = "服务对象所在市code", required = true)
    private String city;

    @ApiModelProperty(value = "服务对象所在市value", required = true)
    private String cityValue;

    @ApiModelProperty(value = "服务对象所在区/县code", required = true)
    private String county;

    @ApiModelProperty(value = "服务对象所在区/县value", required = true)
    private String countyValue;

    @ApiModelProperty(value = "服务对象所在详细地址", required = true)
    private String address;

    @ApiModelProperty(value = "评估方式code", required = false)
    private String assessType;

    @ApiModelProperty(value = "评估方式value", required = false)
    private String assessValue;
}
